
#pragma once

#include "InterleavedBodies.h"

//Interface, that represents independent core, that performs simulation.
class ICalculationCore
{
	public:
		//Performs simulation for bodies.
		virtual double simulate(InterleavedBodies::SubVector bodies, float dt) = 0;
		//For descendants only.
		virtual ~ICalculationCore()
		{ /*nothing*/ }
};
